package com.group2.bankonline.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResponseJson {
    private String code;
    private String message;
    private Object data;

    public ResponseJson(String code,String message){
        this.code=code;
        this.message=message;
    }

    public ResponseJson(String code,Object data){
        this.code=code;
        this.data=data;
    }
}